package com.xm.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 商品保险类别
 * @author 康文程
 * @date 2024-1-5 上午 08:23
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CommodityInsuranceType {
    private Integer insuranceTypeId;
    private String insuranceTypeTitle;
    private String insuranceTypeLogo;
    private String insuranceTypeImage;
    private List<CommodityInsurance> commodityInsurances;

    public CommodityInsuranceType(String insuranceTypeTitle, String insuranceTypeLogo) {
        this.insuranceTypeTitle = insuranceTypeTitle;
        this.insuranceTypeLogo = insuranceTypeLogo;
    }
}
